extension :sources => :checkout do
  task :sources do
    brev = build_repository[real_revision]

    brev.setup!
    command = scm.checkout(real_revision, brev.src_path)

    syscmd command
  end
end

